public class Main {


    public static void main(String[] args) {
        System.out.println(" 软件⼯程补考 ");
        // TODO: 这是main方法

    }

    public static int add(int a, int b) {
        return a + b;
    }

    public static double average(int[] nums) {
        int sum = 0;
        for (int n : nums) {
            sum += n;
        }
        return (double) sum / nums.length;

        // TODO: 添加的新方法写在这
    }
    public static int findMax(int[] nums) {
        int max = nums[0];
        for (int n : nums) {
            if (n > max) {
                max = n;
            }
        }
        return max;
    }
}
